{* --- Если админ --- *}
{if $smarty.session.user.access == CONTENT_MANEGER_ACCESS}
<a href="">
{/if}
{* -\- Если админ -/- *}

<a href="/content">{php}elang('content', 'index_content'){/php}</a>
{section name=foo loop=$history step=-1}
 → <a href="/{if !empty($history[foo].uri_title)}{$history[foo].uri_title}{else}content?cid={$history[foo].id}{/if}">{$history[foo].title}</a>
{sectionelse}
 → {php}elang('content', 'this_content_post'){/php}
{/section}<br />

{if $smarty.session.user.access == 1}
 <div style="padding:5px; padding-left:20px;">
  <table cellpadding="0" cellspacing="0">
   <tr>
    <td><a href="" title="{php}elang('content', 'Delete'){/php}"><img src="/open/images/buttons/delete2.png" border="0" /></a></td>
    <td><a href="" title="{php}elang('content', 'Edit'){/php}"><img src="/open/images/buttons/edit.png" border="0" /></a></td>
   {if $content.cathegory == 1}
    <td><a href="/admin-content-add?pid={$content.id}" title="{php}elang('content', 'Create'){/php}"><img src="/open/images/buttons/add.png" border="0" /></a></td>
   {/if}
   </tr>
  </table>
 </div>
{/if}

<span style="font-size:24px; color:#f57900; font-weight:bold;">{$content.title}</span><br />
<span style="padding-left:20px; padding-top:5px; display:block;">{$content.text}</span>
